package com.dream.technology.db.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcRuleItemQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RcRuleItemQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andRuleIdIsNull() {
            addCriterion("rule_id is null");
            return (Criteria) this;
        }

        public Criteria andRuleIdIsNotNull() {
            addCriterion("rule_id is not null");
            return (Criteria) this;
        }

        public Criteria andRuleIdEqualTo(Long value) {
            addCriterion("rule_id =", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdNotEqualTo(Long value) {
            addCriterion("rule_id <>", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdGreaterThan(Long value) {
            addCriterion("rule_id >", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdGreaterThanOrEqualTo(Long value) {
            addCriterion("rule_id >=", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdLessThan(Long value) {
            addCriterion("rule_id <", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdLessThanOrEqualTo(Long value) {
            addCriterion("rule_id <=", value, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdIn(List<Long> values) {
            addCriterion("rule_id in", values, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdNotIn(List<Long> values) {
            addCriterion("rule_id not in", values, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdBetween(Long value1, Long value2) {
            addCriterion("rule_id between", value1, value2, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleIdNotBetween(Long value1, Long value2) {
            addCriterion("rule_id not between", value1, value2, "ruleId");
            return (Criteria) this;
        }

        public Criteria andRuleActionIsNull() {
            addCriterion("rule_action is null");
            return (Criteria) this;
        }

        public Criteria andRuleActionIsNotNull() {
            addCriterion("rule_action is not null");
            return (Criteria) this;
        }

        public Criteria andRuleActionEqualTo(Integer value) {
            addCriterion("rule_action =", value, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionNotEqualTo(Integer value) {
            addCriterion("rule_action <>", value, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionGreaterThan(Integer value) {
            addCriterion("rule_action >", value, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionGreaterThanOrEqualTo(Integer value) {
            addCriterion("rule_action >=", value, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionLessThan(Integer value) {
            addCriterion("rule_action <", value, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionLessThanOrEqualTo(Integer value) {
            addCriterion("rule_action <=", value, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionIn(List<Integer> values) {
            addCriterion("rule_action in", values, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionNotIn(List<Integer> values) {
            addCriterion("rule_action not in", values, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionBetween(Integer value1, Integer value2) {
            addCriterion("rule_action between", value1, value2, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andRuleActionNotBetween(Integer value1, Integer value2) {
            addCriterion("rule_action not between", value1, value2, "ruleAction");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andItemAliasIsNull() {
            addCriterion("rule_item_alias is null");
            return (Criteria) this;
        }

        public Criteria andItemAliasIsNotNull() {
            addCriterion("rule_item_alias is not null");
            return (Criteria) this;
        }

        public Criteria andItemAliasEqualTo(String value) {
            addCriterion("rule_item_alias =", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasNotEqualTo(String value) {
            addCriterion("rule_item_alias <>", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasGreaterThan(String value) {
            addCriterion("rule_item_alias >", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasGreaterThanOrEqualTo(String value) {
            addCriterion("rule_item_alias >=", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasLessThan(String value) {
            addCriterion("rule_item_alias <", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasLessThanOrEqualTo(String value) {
            addCriterion("rule_item_alias <=", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasLike(String value) {
            addCriterion("rule_item_alias like", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasNotLike(String value) {
            addCriterion("rule_item_alias not like", value, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasIn(List<String> values) {
            addCriterion("rule_item_alias in", values, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasNotIn(List<String> values) {
            addCriterion("rule_item_alias not in", values, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasBetween(String value1, String value2) {
            addCriterion("rule_item_alias between", value1, value2, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andItemAliasNotBetween(String value1, String value2) {
            addCriterion("rule_item_alias not between", value1, value2, "itemAlias");
            return (Criteria) this;
        }

        public Criteria andFieldCodeIsNull() {
            addCriterion("field_code is null");
            return (Criteria) this;
        }

        public Criteria andFieldCodeIsNotNull() {
            addCriterion("field_code is not null");
            return (Criteria) this;
        }

        public Criteria andFieldCodeEqualTo(String value) {
            addCriterion("field_code =", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeNotEqualTo(String value) {
            addCriterion("field_code <>", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeGreaterThan(String value) {
            addCriterion("field_code >", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeGreaterThanOrEqualTo(String value) {
            addCriterion("field_code >=", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeLessThan(String value) {
            addCriterion("field_code <", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeLessThanOrEqualTo(String value) {
            addCriterion("field_code <=", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeLike(String value) {
            addCriterion("field_code like", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeNotLike(String value) {
            addCriterion("field_code not like", value, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeIn(List<String> values) {
            addCriterion("field_code in", values, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeNotIn(List<String> values) {
            addCriterion("field_code not in", values, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeBetween(String value1, String value2) {
            addCriterion("field_code between", value1, value2, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldCodeNotBetween(String value1, String value2) {
            addCriterion("field_code not between", value1, value2, "fieldCode");
            return (Criteria) this;
        }

        public Criteria andFieldNameIsNull() {
            addCriterion("field_name is null");
            return (Criteria) this;
        }

        public Criteria andFieldNameIsNotNull() {
            addCriterion("field_name is not null");
            return (Criteria) this;
        }

        public Criteria andFieldNameEqualTo(String value) {
            addCriterion("field_name =", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotEqualTo(String value) {
            addCriterion("field_name <>", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameGreaterThan(String value) {
            addCriterion("field_name >", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameGreaterThanOrEqualTo(String value) {
            addCriterion("field_name >=", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLessThan(String value) {
            addCriterion("field_name <", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLessThanOrEqualTo(String value) {
            addCriterion("field_name <=", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameLike(String value) {
            addCriterion("field_name like", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotLike(String value) {
            addCriterion("field_name not like", value, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameIn(List<String> values) {
            addCriterion("field_name in", values, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotIn(List<String> values) {
            addCriterion("field_name not in", values, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameBetween(String value1, String value2) {
            addCriterion("field_name between", value1, value2, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldNameNotBetween(String value1, String value2) {
            addCriterion("field_name not between", value1, value2, "fieldName");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeIsNull() {
            addCriterion("field_data_type is null");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeIsNotNull() {
            addCriterion("field_data_type is not null");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeEqualTo(Integer value) {
            addCriterion("field_data_type =", value, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeNotEqualTo(Integer value) {
            addCriterion("field_data_type <>", value, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeGreaterThan(Integer value) {
            addCriterion("field_data_type >", value, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("field_data_type >=", value, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeLessThan(Integer value) {
            addCriterion("field_data_type <", value, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeLessThanOrEqualTo(Integer value) {
            addCriterion("field_data_type <=", value, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeIn(List<Integer> values) {
            addCriterion("field_data_type in", values, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeNotIn(List<Integer> values) {
            addCriterion("field_data_type not in", values, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeBetween(Integer value1, Integer value2) {
            addCriterion("field_data_type between", value1, value2, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andFieldDataTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("field_data_type not between", value1, value2, "fieldDataType");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeIsNull() {
            addCriterion("operational_symbol_code is null");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeIsNotNull() {
            addCriterion("operational_symbol_code is not null");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeEqualTo(String value) {
            addCriterion("operational_symbol_code =", value, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeNotEqualTo(String value) {
            addCriterion("operational_symbol_code <>", value, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeGreaterThan(String value) {
            addCriterion("operational_symbol_code >", value, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeGreaterThanOrEqualTo(String value) {
            addCriterion("operational_symbol_code >=", value, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeLessThan(String value) {
            addCriterion("operational_symbol_code <", value, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeLessThanOrEqualTo(String value) {
            addCriterion("operational_symbol_code <=", value, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeLike(String value) {
            addCriterion("operational_symbol_code like", value, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeNotLike(String value) {
            addCriterion("operational_symbol_code not like", value, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeIn(List<String> values) {
            addCriterion("operational_symbol_code in", values, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeNotIn(List<String> values) {
            addCriterion("operational_symbol_code not in", values, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeBetween(String value1, String value2) {
            addCriterion("operational_symbol_code between", value1, value2, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolCodeNotBetween(String value1, String value2) {
            addCriterion("operational_symbol_code not between", value1, value2, "symbolCode");
            return (Criteria) this;
        }

        public Criteria andSymbolNameIsNull() {
            addCriterion("operational_symbol_name is null");
            return (Criteria) this;
        }

        public Criteria andSymbolNameIsNotNull() {
            addCriterion("operational_symbol_name is not null");
            return (Criteria) this;
        }

        public Criteria andSymbolNameEqualTo(String value) {
            addCriterion("operational_symbol_name =", value, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameNotEqualTo(String value) {
            addCriterion("operational_symbol_name <>", value, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameGreaterThan(String value) {
            addCriterion("operational_symbol_name >", value, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameGreaterThanOrEqualTo(String value) {
            addCriterion("operational_symbol_name >=", value, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameLessThan(String value) {
            addCriterion("operational_symbol_name <", value, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameLessThanOrEqualTo(String value) {
            addCriterion("operational_symbol_name <=", value, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameLike(String value) {
            addCriterion("operational_symbol_name like", value, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameNotLike(String value) {
            addCriterion("operational_symbol_name not like", value, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameIn(List<String> values) {
            addCriterion("operational_symbol_name in", values, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameNotIn(List<String> values) {
            addCriterion("operational_symbol_name not in", values, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameBetween(String value1, String value2) {
            addCriterion("operational_symbol_name between", value1, value2, "symbolName");
            return (Criteria) this;
        }

        public Criteria andSymbolNameNotBetween(String value1, String value2) {
            addCriterion("operational_symbol_name not between", value1, value2, "symbolName");
            return (Criteria) this;
        }

        public Criteria andFieldValueIsNull() {
            addCriterion("field_value is null");
            return (Criteria) this;
        }

        public Criteria andFieldValueIsNotNull() {
            addCriterion("field_value is not null");
            return (Criteria) this;
        }

        public Criteria andFieldValueEqualTo(String value) {
            addCriterion("field_value =", value, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueNotEqualTo(String value) {
            addCriterion("field_value <>", value, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueGreaterThan(String value) {
            addCriterion("field_value >", value, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueGreaterThanOrEqualTo(String value) {
            addCriterion("field_value >=", value, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueLessThan(String value) {
            addCriterion("field_value <", value, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueLessThanOrEqualTo(String value) {
            addCriterion("field_value <=", value, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueLike(String value) {
            addCriterion("field_value like", value, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueNotLike(String value) {
            addCriterion("field_value not like", value, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueIn(List<String> values) {
            addCriterion("field_value in", values, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueNotIn(List<String> values) {
            addCriterion("field_value not in", values, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueBetween(String value1, String value2) {
            addCriterion("field_value between", value1, value2, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andFieldValueNotBetween(String value1, String value2) {
            addCriterion("field_value not between", value1, value2, "fieldValue");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Boolean value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Boolean value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Boolean value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Boolean value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Boolean value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Boolean> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Boolean> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Boolean value1, Boolean value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andEnabledIsNull() {
            addCriterion("enabled is null");
            return (Criteria) this;
        }

        public Criteria andEnabledIsNotNull() {
            addCriterion("enabled is not null");
            return (Criteria) this;
        }

        public Criteria andEnabledEqualTo(Boolean value) {
            addCriterion("enabled =", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotEqualTo(Boolean value) {
            addCriterion("enabled <>", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledGreaterThan(Boolean value) {
            addCriterion("enabled >", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) {
            addCriterion("enabled >=", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledLessThan(Boolean value) {
            addCriterion("enabled <", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledLessThanOrEqualTo(Boolean value) {
            addCriterion("enabled <=", value, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledIn(List<Boolean> values) {
            addCriterion("enabled in", values, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotIn(List<Boolean> values) {
            addCriterion("enabled not in", values, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledBetween(Boolean value1, Boolean value2) {
            addCriterion("enabled between", value1, value2, "enabled");
            return (Criteria) this;
        }

        public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) {
            addCriterion("enabled not between", value1, value2, "enabled");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIsNull() {
            addCriterion("field_type is null");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIsNotNull() {
            addCriterion("field_type is not null");
            return (Criteria) this;
        }

        public Criteria andFieldTypeEqualTo(String value) {
            addCriterion("field_type =", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotEqualTo(String value) {
            addCriterion("field_type <>", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeGreaterThan(String value) {
            addCriterion("field_type >", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeGreaterThanOrEqualTo(String value) {
            addCriterion("field_type >=", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLessThan(String value) {
            addCriterion("field_type <", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLessThanOrEqualTo(String value) {
            addCriterion("field_type <=", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeLike(String value) {
            addCriterion("field_type like", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotLike(String value) {
            addCriterion("field_type not like", value, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeIn(List<String> values) {
            addCriterion("field_type in", values, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotIn(List<String> values) {
            addCriterion("field_type not in", values, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeBetween(String value1, String value2) {
            addCriterion("field_type between", value1, value2, "fieldType");
            return (Criteria) this;
        }

        public Criteria andFieldTypeNotBetween(String value1, String value2) {
            addCriterion("field_type not between", value1, value2, "fieldType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}